Script: --on windowEvent wdID,wdName,objNo,objName,objValueツツif objValue="Open" thenツ wsSet wdID,"version","Text", "Version" && grinderversion()ツ put word 1 of screeninfo() into thecolorsツ if thecolors < 256 thenツ wsSet wdID,1,"Name", "GrinderBW"ツ wsSet wdID,"version","blackcolor","0,0,0"ツ wsSet wdID,"version","whitecolor","-1,-1,-1"ツ elseツ wsSet wdID,1,"Name", "GrinderColor"ツ wsSet wdID,"version","blackcolor","-1,-1,-1"ツ wsSet wdID,"version","whitecolor","13762,13766,25558"ツ end ifツ ツelse if objValue="Close" then ツ ツelse if objValue="Suspend" then ツ ツelse if objValue="Resume" then ツ ツelse if objValue="CloseBox" then ツ ツelse if objValue="ZoomBox" then ツ ツelse if objValue="GrowBox" then ツ ツelse if objValue="TitleBar" then ツ ツend ifツツ--end windowEventツツツ